package com.yaoran.userauth.service;

import com.yaoran.userauth.entity.Menu;
import com.yaoran.userauth.utils.PageUtils;
import com.yaoran.userauth.utils.Query;

import java.util.Date;
import java.util.List;

public interface MenuService {
    void addMenu(Menu menu, Date createTime);

    PageUtils<Menu> listMenu(Query query,String keyWord,int organizaitonId);

    void updateMenu(Menu menu);

    void deleteMenu(Long id);

    void deleteManyMenu(Long[] ids);

    Menu getMenu(Long id);

    List<Menu> applicationMenu(Long applicationId);
}
